Skip to content

chore(deps): upgrade vitest 4, eslint 9, and tsconfig to ES2024#198

Merged
aaylward merged 2 commits into
mainfrom
deps
Mar 10, 2026
Merged

chore(deps): upgrade vitest 4, eslint 9, and tsconfig to ES2024#198
aaylward merged 2 commits into
mainfrom
deps

Conversation

@aaylward

@aaylward aaylward commented Mar 10, 2026

Copy link
Copy Markdown
Contributor

Summary

Upgrade vitest to v4, eslint to v9 (latest compatible with eslint-plugin-react-hooks v7), and bump tsconfig target/lib from ES2020 to ES2024. Adds @eslint/js and @testing-library/dom as explicit dev dependencies now required by the new major versions. Fixes all resulting lint errors and test mock incompatibilities.

Testing Done

  • Lint — 0 errors, 0 warnings
  • Typecheck — clean
  • Tests — 19/19 suites, 214/214 passing
  • Build — success
  • npm ci — clean install with no peer dep conflicts

🤖 Generated with Claude Code

Upgrade eslint to v10 and vitest to v4. Add @eslint/js and
@testing-library/dom as explicit dependencies now required by
these major versions.

Fix new eslint v10 lint errors (no-useless-assignment,
preserve-caught-error) and update test mocks to use function
syntax for constructor compatibility with vitest v4.

Bump tsconfig target/lib from ES2020 to ES2024.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Mar 10, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
muchq a5444ed Commit Preview URL

Branch Preview URL
Mar 10 2026, 01:41 AM

@aaylward aaylward added the dependencies Pull requests that update a dependency file label Mar 10, 2026
eslint-plugin-react-hooks v7 doesn't support eslint v10 yet,
causing npm ci to fail in CI. Downgrade eslint and @eslint/js
to v9 to resolve the peer dependency conflict.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@aaylward aaylward changed the title chore(deps): upgrade eslint 10, vitest 4, and tsconfig to ES2024 chore(deps): upgrade vitest 4, eslint 9, and tsconfig to ES2024 Mar 10, 2026
@aaylward aaylward merged commit 1dcacc2 into main Mar 10, 2026
2 checks passed
@aaylward aaylward deleted the deps branch March 10, 2026 01:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant